<!DOCTYPE html>
<html lang="zh_CN">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<div id="container">
		<p id="demo">Hello World!</p>
	</div>
	
	<script type="text/javascript" src="amd.js"></script>
	<script type="text/javascript">
		F.module(['lib/event', 'lib/dom'], function(events, dom) {
			events.on('demo', 'click', function() {
				dom.html('demo', 'success');
			});
		});
	</script>
</body>
</html>